//
//  NoticeHeadView.swift
//  YueChat
//
//  Created by IMac on 2024/9/26.
//

import UIKit

class NoticeHeadView: UIView {

    @IBOutlet weak var noticeLab: UILabel!

    var noticeBlock: () -> Void = {}
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
//        self.noticeBlock = noticeBlock
        let tap = UITapGestureRecognizer(target: self, action: #selector(tap))
        self.addGestureRecognizer(tap)
    }
    
    @objc func tap () {
        noticeBlock()
    }

}
